package com.cdtu.vo;

import com.cdtu.entity.Certify;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author : Sakura
 * @Date : 2023/1/14 11:07
 */
@Data
public class UserDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private long id;
    private String name;
    private String ethnic;
    private int age;
    private String vocation;//职业
    private String phone;
    private String grade = "c";
    private String homeAddress;
    private String comAddress;
    private String idCard;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private int sex;
    private List<SpecialityVO> speciality;//
//    id: 0,
//    type: '',
//    name: '',
//    detail: '',

    private List<CertifyDTO> certify;
//    id: 0,
//    type: '',
//    name: '',
//    imageUrl: '',
}
